﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Results.aspx.cs" Inherits="Corsat.Web._2013.Results" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl">
<head id="Head1" runat="server">
    <title></title>
     <style type="text/css">
        .progressBackgroundFilter
        {
            position: fixed;
            top: 0px;
            bottom: 0px;
            left: 0px;
            right: 0px;
            overflow: hidden;
            padding: 0;
            margin-left: auto;
            margin-right: auto;
            background-color: #000;
            filter: alpha(opacity=50);
            opacity: 0.5;
            z-index: 1000;
        }
        
        .processMessage
        {
            margin-left: auto;
            margin-right: auto;
            position: fixed;
            top: 30%;
            left: 43%;
            padding: 10px;
            width: 14%;
            z-index: 1001;
            background-color: #fff;
            border: solid 1px #000;
            text-align: center;
            font-size:large;
            font-style:oblique;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server" accept="btnLoadAccount">
    <asp:ScriptManager ID="formScriptManager" runat="server">
    </asp:ScriptManager>
    <asp:UpdateProgress ID="UpdateProgress2" runat="server">
        <ProgressTemplate>
            <div class="progressBackgroundFilter">
            </div>
            <div class="processMessage">
                جارى التحميل...<br />
                <br />
                <img alt="Loading..." src="Images/Loading.gif" />
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
    <div>
        <asp:UpdatePanel ID="upCourseLevels" runat="server">
            <ContentTemplate>
                <table width="1000px" align="center">
                    <tr>
                        <td align="center" style="font-size: x-large; font-weight: bold;">
                            الـــنـــتـــائـــج
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <hr />
                        </td>
                    </tr>
                    <tr>
                        <td align="center">
                            <table width="100%">
                                <tr>
                                    <td width="50%" align="left" style="font-size: large; font-weight: bold;">
                                        الرقم الكورساتى
                                    </td>
                                    <td width="50%" align="right" style="font-size: large; font-weight: bold;">
                                        <asp:TextBox ID="txtCorsatId" runat="server" Style="font-size: large; font-weight: bold;
                                            text-align: center;">
                                        </asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <hr />
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" colspan="2">
                                        <asp:LinkButton runat="server" ID="btnLoad" Text="تـــحـــمـــيـــل" Style="font-size: x-large;
                                            font-weight: bold;" OnClick="btnLoad_Click"></asp:LinkButton>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <hr />
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="font-size: x-large; font-weight: bold;">
                            <asp:Label runat="server" ID="lblAccountName" Font-Bold="true" Font-Size="XX-Large"
                                BorderColor="Black" BorderStyle="Solid" Width="100%" Style="vertical-align: middle;"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="center">
                            <asp:Panel ID="pnlResults" runat="server" GroupingText="الـــنـــتـــائـــج" Style="font-weight: bold;
                                font-size: large;">
                                <asp:Panel ID="pnlTechCourse" runat="server" GroupingText="كورس استخدام التكنولوجيا فى الخدمة">
                                    <table width="100%">
                                        <tr>
                                            <td align="center">
                                                <asp:GridView runat="server" ID="gvTechResults" AutoGenerateColumns="False" CellPadding="3"
                                                    EnableModelValidation="True" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None"
                                                    BorderWidth="1px">
                                                    <Columns>
                                                        <asp:BoundField DataField="CourseTitleName" HeaderText="الكورس">
                                                            <ItemStyle Width="500px" HorizontalAlign="Center" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="Result" HeaderText="الدرجة">
                                                            <ItemStyle Width="100px" HorizontalAlign="Center" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="Grade" HeaderText="التقدير">
                                                            <ItemStyle Width="200px" HorizontalAlign="Center" />
                                                        </asp:BoundField>
                                                    </Columns>
                                                    <FooterStyle BackColor="White" ForeColor="#000066" />
                                                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                                                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                                                    <RowStyle ForeColor="#000066" />
                                                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                                                </asp:GridView>
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </asp:Panel>
                        </td>
                    </tr>
                    <tr>
                        <td align="center">
                            <asp:Panel ID="pnlCourses" runat="server" Style="font-weight: bold; font-size: large;"
                                GroupingText="الـــكـــورســـات">
                                <asp:GridView runat="server" ID="gvResults" AutoGenerateColumns="False" CellPadding="3"
                                    EnableModelValidation="True" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None"
                                    BorderWidth="1px">
                                    <Columns>
                                        <asp:BoundField DataField="CourseTitleName" HeaderText="الكورس">
                                            <ItemStyle Width="500px" HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="Result" HeaderText="الدرجة">
                                            <ItemStyle Width="100px" HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="Grade" HeaderText="التقدير">
                                            <ItemStyle Width="200px" HorizontalAlign="Center" />
                                        </asp:BoundField>
                                    </Columns>
                                    <FooterStyle BackColor="White" ForeColor="#000066" />
                                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                                    <RowStyle ForeColor="#000066" />
                                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                                </asp:GridView>
                            </asp:Panel>
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="btnLoad" EventName="Click" />
            </Triggers>
        </asp:UpdatePanel>
    </div>
    </form>
</body>
</html>
